/**
 * Created by admin on 2016/11/29.
 */
var share = function(){

    var whiteBg = function () {
        /*窗口加载的时候改变背景色*/
        window.onload = function(){
            document.body.style.backgroundColor="#FFFFFF";
        }
    };

    //swiper配置
    var swiper = function () {
        var mySwiper = new Swiper('.swiper-container', {
            pagination : '.swiper-pagination'
        })
    };

    return{
        init:function(){
            whiteBg();
            swiper();
        }
    }
}();